package cn.edu.sjtu.tooling.vo;


import cn.edu.sjtu.tooling.enums.ResultEnum;
import lombok.Data;

@Data
public class ResultVO<T> {

    private String status;
    private String message;
    private T data;

    public ResultVO(ResultEnum resultEnum) {
        this.status = resultEnum.getCode();
        this.message = resultEnum.getMessage();
    }
}
